<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<table width="100%" cellspacing="0" cellpadding="0" height="44px">
	<tr>
		<td width='<%=request.getParameter("width")%>' align="left">
			<table width="100%" cellspacing="0" cellpadding="0" height="44px">
				<tr>
					<td width="11px" style="background-image:url(${CONTEXT_PATH}/images/menu/menu_left.gif)"></td>
					<td width="18px" style="background-image:url(${CONTEXT_PATH}/images/menu/menu_bg.gif); background-repeat:repeat-x;" align="right">
						<img src="${CONTEXT_PATH}/images/menu/gif-0665.gif" />
					</td>
					<td style="white-space:normal; background-image:url(${CONTEXT_PATH}/images/menu/menu_bg.gif); background-repeat:repeat-x; font-size:14px" class="commonFont" align="left">
					&nbsp;当前位置：<span id="menuLinkSpan"></span>
					</td>
					<td width="39px" style="background-image:url(${CONTEXT_PATH}/images/menu/menu_right.gif)"></td>
				</tr>
			</table>
		</td>
		<td width='100%-<%=request.getParameter("width")%>' align="left" style="background-image:url(${CONTEXT_PATH}/images/menu/menu_bg2.gif); background-repeat:repeat-x;">
			
		</td>
	</tr>
</table>

<script type="text/javascript">
$(function(){
	initMenu();
});

function initMenu()
{
	var menuValue = eval("<%=request.getParameter("menuLink")%>");
	var len = menuValue.length;
	var html = '';
	for(var i = 0; i < len; i++)
	{
		html += '<a>';
		html += menuValue[i].name;
		html += '</a>';
		if(i != len - 1)
		{
			html += '&nbsp;&gt;&gt;&nbsp;';
		}
	}
	var menuLinkSpan = document.getElementById('menuLinkSpan');
	menuLinkSpan.innerHTML = html;
}
</script>
